<?php
$modelName= get_class($model);
$this->breadcrumbs=array(
	$modelName=>array('index'),
	$model->getPrimaryKey(),
);

$this->menu=array(
	array('label'=>'Create '.$modelName, 'url'=>array('create')),
	array('label'=>'Update '.$modelName, 'url'=>array('update', 'id'=>$model->getPrimaryKey())),
	array('label'=>'Delete '.$modelName, 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->getPrimaryKey()),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage '.$modelName, 'url'=>array('admin')),
);
?>

<h1>View <?php echo $modelName;?> #<?php echo $model->getPrimaryKey(); ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=> $model->admin->getViewAttributes(),
)); ?>
